package com.woniu.mapper;

import com.woniu.dto.InpatientDischargeAppDTO;
import com.woniu.dto.PendingSettleQueryDTO;
import com.woniu.entity.InpatientDischargeApp;
import com.woniu.utils.ResponseUtil;
import com.woniu.vo.InpatientDischargeAppVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author 11214
* @description 针对表【inpatient_discharge_app(出院申请表)】的数据库操作Mapper
* @createDate 2025-10-30 17:59:31
* @Entity com.woniu.entity.InpatientDischargeApp
*/
public interface InpatientDischargeAppMapper {

    Integer deleteByPrimaryKey(Long id);

    Integer insert(InpatientDischargeApp record);

    Integer insertSelective(InpatientDischargeApp record);

    InpatientDischargeApp selectByPrimaryKey(Long id);

    Integer updateByPrimaryKeySelective(InpatientDischargeApp record);

    Integer updateByPrimaryKey(InpatientDischargeApp record);
    //查看出院申请记录
    List<InpatientDischargeAppVO> recordList(InpatientDischargeAppDTO queryDTO);

    List<InpatientDischargeAppVO> findPendingSettlements(PendingSettleQueryDTO queryDTO);
}
